Added simple node selection handling.