Update readme on how to use the function