reducing number of tasks