Added device stats and handler