added some BT set up functions