rigged up the basic groups legend. precautionary commit. Lot of bugs yet to fixed.