Added debug printing and extended selection
Merged