add dep control