added bt funcionallity