added increment for cycles