document for training and testing