cleaned up main layout file'