added more select functionality to exactly match native functionality