small adjustions of the depth function