Added some code for deal expiration timer