switch to states property