What you mean by global instance of class? And why this won't work?