cxor better but still buggy.