extract val might work