for flaged cycle