still not correct, but a better path