stubbed for testing
implementing selection