added Stats java file