tests pass, but not sure why, not merging until I understand this better and ensure tests are accurate