refactoring
rspec