added mainview