saving device ID