added producers for trigger weights
small code cleanup