implemented smart home