First attempt at implementing choice