added timer functionality
Added timer functionality