complete device init