initial chat.c commit