tested restore weights
merge