alternating problems