removed ; from function snippets