Started adding bluetooth functions