updating for Rspec