refactored saved weight parameters