worked with rspec to impove the program