adding comparable operator to calculate user input