restrcited version of rspec