Adding hook