added seventh variable