added timer delay