selection now works