variable declaration in wrong file