changeState was missing a . in the constructed name