handling for same values input object