how to detangle a problem