code removed from batch