implementing bluetooth feature