ie the intent of the hook isn't PSI-specific, but this quick implementation is