Problems with coding a simple choice