Added a minimal hook