notify client
add hashcode and equal