Refactor; view instance to global variable on scene