Changed main to outside of div