creating class, new method