bluetooth and WiFI code added