Changed end of function to comma

instead of semicolon