Smarter road-side infrastructure