worked on the main layout