uses fixnum class and also adds a new condition