renamed states to stats