added external calls