specifying encoding + updating the group data structure to include hints