design code layout