Change function name and removed extra spaces