Adds debug. Gotta find a better way to test this stuff.