getting selection to work with codeland