load patterndata state