implement plan equality to make test pass
wip