added java equ