base group creation work.