compare using .zero?

Also cleaned up method invokation to use . instead of ::