Oops - somehow deleted percentage calculation in a previous commit - put that functionality back in