adding chat.py