exercise #5.2 indentation fixes