Readme update, export a useful function