device code done