modfied template to use both training and testing data from STS12