added changes to main view