Thank you! It wasn't in a function. What I had to do was to make a separate function called player_stats() and put all those declarations in there then call the function in the main() function. It's wokring now. Thanks so much!