add class Main