forgot to make this progress percentage thread safe