adding jinja + formatting