Modified CUSTOM example