replaced form1with InOut