added guard and .rspec