pep8 + batching