switch to byte array interfaces