made stats into a struct