add some check on depth