working on render template