First util functions comments
Statistics bug fixed