added semicolon after function decl