Fixing name of function