extract val