working on output of devices