A example of sugar logic hook