Add trigger e/g algo class