changed to boolean, and added .to_s method for appropriate ruby
transformations in the template