use class attribute
change format for rspec