finished internal layout