added timer module code