shudown hook added