Added warning at beginning of task_main() removed by accident