updated readme with altered function definitions