updates readme
updates example calls function