Added validation to amount