add methode to DeviceDao