add the possibility for hooks