output hook added