added create timer API method