basic device persistence