Added .device() to device config