added bt functionality