goodbye old resource code