Added _getSelection private method