commented and added batch menu