switched to byte array for test