writing all needed stat checks and check it