!Integer publicMethods ! fact "Our own factorial function" | result | result := 1. 1 to: self do: [:n | result := result * n]. ^result! !