added timer

added timer