Added stat collection; allows easy monitoring and proper indexing