implemented notifications by returning notify message effects in commit handlers