added third variable

added third variable