add dynamic template functionality
0.2.31