merging with pymalch.