started adding stack statistics