parsing input from line arguments
merge