refactored weight storing options