debugging... progress flag doesn't seem to be working