Working on templates

it's a learning in progress