adding html rendering of the template