adding the new statistics GUI functions