adding semicolon to the printf statement