Removed unused var in MainClass