views and templates done