added support for listening to device status