added external timing