add stats structure