unified code layout and structure