Added some checks and changed the max money