added the specific occurrence identifier to variables