added loop counter to the lagg display