Begins layout