getting stdout