The method is state not toggleState