debug output for selection added