input form reformat