orrected file for session 3 assignment