added the rspec for statement