Removed semicolon from function statement