implemented max stats