add simple error checking for donation value