transition debug re-written