Programming variables for cycles