simplified code for deal button