added code layout