creating class