ran test data through minimal adjustments to code