should this use the %ui-depth* extend?