adding anchorObject property