Modified to reject invalid payoffs