added extra hook