here is the working prototype for ticket watch and unwatch fucntion.