removed the pFirstSelected pointer until reader to implement this functionality