now it works in rspec and kind of work in irb