added variables code