performConnection.c/h + prolog.c update