added default for device