Deterministic alternative choice

@erwaller could you look this over?