links ctypes in designated order, really actually closes #1