debug mode to show stats