defining data states