A bit more pythonesque