add byte array option in queries