support for comparing pointers