anchor up the main class