updates to readme and function order