Changing val param to value.