The Role of Religion in the Problem-Solving Process