master-equation models