Tidy up back()
Var declarations first