add support for devices