#2 avoid empty tasks