allowing @depth > 1