added result_repeat! macro