add in rspec for testing