added stage hook
added stage hook