adding components to pages