move up i declaration.