Analyzing obsessive thoughts from a psychological perspective