custom statistics enchancement