broken sampling method added