updated current steps and added trial averaging