changes made to remove selection