get dependencies only if they not already exist