added input boxes and submit buttons