some improvements to 'tasks'