yay for remembering how to code in python: syntax error fix