Added new class doubleMain