Added withi, removed enumerate from with
Fixed pep8 indentation error.