added rspec and guard