working on html templating