use the progress var, not if (0)