In a significant subset of youth , pain severity and pain catastrophizing ( i.e. , unhelpful thoughts related to the pain ) may contribute to more negative outcomes and greater impairment in functioning .