this line looks a likely culprit