layer ordering for debug