first implementations for bluetooth connection