Finishing Input unit, more test needed.