analyzing thoughts