first version of template