add functionality to prepare object before doing equals oparation