using template engine to create strings