more refactoring to move utf over to bytes