forgot the $this in front of the function call