added parallel learning
added parallel options