made form into table