fixing function name and updating readme