Side effect code example