Task 3: Removed extraneous else.