rearrange panic to e more resource conscious....