add extension verification