slightly modified mainVC