barley formatting and batch size update