I'm getting an error on this line. I think you need to create an anonymous function here