add extension support