The program applied pattern matching rules to statements to figure out its replies. (Programs like this are now called chatbots.) It is considered the forerunner of thinking machines.[3] Weizenbaum was shocked that his program was taken seriously by many users, who would open their hearts to it.