thanx Thelmrac, hopes it would be useful to others. Im have updated the documentation and added another example to show the idea for using it.