moved template to local var
Release 0.2.2