WIP: still debugging.