nextTask as chained constructor parameter for readability