NEED HELP to Program a Batching System