improved task processor