a simple test
Moved the declaration of member functions inside the class to avoid errors in some compilers/versions