defining templates in view directly and adding a utility file (just a stub)