added rspec and binned unit