use template
minor improvements
minor
Merge pull request #2 from palmerabollo/templating

use template