Preliminary code layout