Hook

Added hook to the model