I'm not entirely sure why I had to switch to using self instead of this here, but most examples do it and it didn't work until I did...