Moving a declaration higher in the code