hooks for extension added