added sliders to change weights and year