made selection work