adding isTyping