adding templates, and changing views