some more work on tasks controller