simplify and compact layout