get input data