working on multi choice logic