done with Main class