great reorganization of pattern loading