modularize stats