device groups and devices