made a giant mess of things but something worked