bytearray utilities added