2 variable deletions and set a new variable

2 variable deletions and set a new variable for an easier code