raise error for insufficient funds