cleaned initial adding of weights