changes cents to int and fixes a method that took the wrong parameter