option selection implemented