bascially implement some kind of depth equal
bascially implement some kind of depth equal