syntactic sugar. changed equal zero or nil to not. simplified if statement.