implementing rspec