batch nr.1 with unused code removed