switch to batch