Change: revised the whole template utility
Change: added todo comment for the template