add layout and schema