Did my example of code work?