variables are used before their declaration

move white and jet variables declaration before use