fix some comments
add equals method to message