Try model = schoolyard()
model = schoolyard()
I did that in the REPL, forgot to put it in the file for you to follow sorry.