added support for Greenberg-Hastings model