added method to rspec