layout assignment