~ use avg for documentLength temporarily