added timer to keyboard