Renamed variables + DeleteObject added.