add proper equality for resources