Update readme

Updated reason and usage of helper function