added bluetooth handler code