Corrected some case mix up, and added Exception if the amount is negative