made the code look nice and easy to read