High level code layout