Add interface to set timer