variables names corrected