updating readme, fixed old function preventing compile