add extensions mechanism