statistics function complete