removed attr_accessor they overwrite the setter and getter methods provided by ActiveRecord