Statistics menu source code