cleaner way of logging new step