still in testing
clean up, runs slightly faster with new att_counts
closer to fully ported, but getting strange error from oracle
fully ported, looks good but could use some auditing by fresh eyes