partially added 'repeat' processing