almost complete UI layout