add rendering helper
Merge pull request #19 from ravilrrr/master

add rendering helper