Added input and output fileds