making tasks accessible to views