basic template support + comments + tests