layout and data base