predicting and managing potential complications