rough analysis scripts for training data