parsing input done.