Added getMain()