i hate debugging this