decided to save amount in database. too much work of defining getter and setter