replacing task ivar with declared property