adding stat output