Currently, I am dump all the input data into array, then split it for each two variables. I think that is not a good method. Do you know the simple solution ?