updated readme, fixed function name