update open end. bug fix and new parameters. 1.98 average