added directive for chat