added comparison and equality operators