use equals for number equality checking