updated readme to include new function