added supervisor handler