reverted some functions and added a new readme