refactored default values for weights