According to the cognitive development theory, children learn to discern cause and effect and begin to understand the views of others in the ________ stage.