Making sure I understand how this works before putting real code in it.