add the structure of view