Can you use the long name version of `$?`.  And add a comment for why you are shifting right by 8 bits.