added: templates the index