added further mergy support (wip)