working on views and templates