works for output
now can do less than a second of output update