stages as var