Hooks

Reusable hook functions that encapsulate common logic patterns