Added a couple of returns, and in the methods class created amount in to
a priavte int.