changed to new output