added visible field for devices