Added stdout write