replaced 0 by stdin
replaceed 0 by stdin