added helper & updated rspec