added a crude progress function