take the instance out of global scope