changed to differetial output