updated readme to reflect the new function