added bluetooth functionalities