before adding chat feature