mainview added