fork of mer with debug tst