change statementPanel to statmentFrame