simplified the output