working on 35 ruby...still too slow and incorrect at scale