[IMP]:improve read_group method