added "x, ok = <- ch"