Fixing case termination for d)