fixed a minor bug; added stats field