added external example and updated readme