removed spaces in functions