added support for apoptosis