add connector.c