update readme to reflect new function