layout the structure