Implement select.