changing java again to use ble