group util funcitons simplified
select implemented for testing and training frames
doc update
bugfix