continued the example for chapter9
abstracted the form into its own fragment