added a handler function subscriber type