isWith receives an Int as the argument, not Double