readStr is almost working propely