Implemented output of zero when no input is present
Renamed output signals