edited so encoding