We should probably PEP8 this: can we get an extra blank line here?