added external handler