semicolon error resolved