Added a reset event function to the Viper package