add some methods for device utils