use `if(extensions1) { ...`