added additional control variables