template solution
Merge pull request #1 from ASerputko/master

template solution