I like how complete you made this example code.