implementation of learning curve has been added.