Added the alternating problem.