working on device management