add check for gpio