Critical thinking: A two-phase framework