Added code for selecting by group