corrected my mistake converting between $ and cents