Added template.rb