rspec implimented