object function equal() working now