a couple functions to look at and consider for creating a form