create helper method and minimal template