first try to create a xdd like tool