- Trying to solve global variable issue