There should be an example of the check hook as well.