references do not count for depth