Revised with PEP8-style spacing and naming