did byte array stuff