removed unneeded global function

updated readme to be more descriptive