local copy of dep