rip out all the pending lookup code and rewrite it a better way to end this BS