relabeled some temporary variables