Bat formatting