updated for bluetooth plugin