Added working bluetooth code