improve rspec file