added thinking indicator