Oh that example code was hella out of date