swapped order of functions
added more to readme