Add semicolon in function