Can this be done using an array of bytes?