removed trailing semicolon in snippet