this is really fragile! cc @pierreozoux