Refactored global example class;