using main instead of main-div