validate
validate and merge