extra function to print fragment length