class cdpid => added operator==