layout is now used for rendering views