Added a bunch of comments to helpers.rb