save the input info