dlim kwarg added to depth profile
work in progress