implementing bluetooth features