move groups type to types