refactored example and example collection