minor updates to solCode.R