added code to test bluetooth