fix previous checkin
- new function for selection buffer ...work in progress