Function getOverridePattern