added verify_gpios()