Do not define the method 'method3' in header file.
I also see syntax error issues.