selective_repeat:: modified