Removed unused code, clarified intent of the program, batch size to 1 second