There is a whitespace at the end of this line. Also remove the whitespace between addObserver and ( character.