changes on toDetermine the group and build data list based on dest type