Task care of inner class