add new function of input file