The events are now changed when you change the sample