removed a debugging line from determine_tasks