added bluetooth functionality