Fourth exercise_mod