got all rspec tests to pass