as you wish, I declare all the variables before the code.