'self' isn't a variable in that scope, use this