This doesn't explain very well what the goal of the function is. Perhaps you can clarify what this selection will be used for and what its criteria will be?