code moved to trainPsi1Day()