init setup for class 2