Title: Wireless Sensor Networks in Smart Environments