first code for new class