worked on output