some experimental code for reconstructing