working on templates and what not