added Val.R