Changed output to stdout