variable declaration was global...