Edited MainClass.