removed excess space at end of function call