modularized layout