removed unused wires and signals