renamed misnamed variables