The comment on this should probably be: "Determine depth of current by looking at it's ancestors", or something like that