add a handler for calls