forgot to write 'self.' before a variable