added stuff for stats parsing