added variables to class