How to use "inserted" in a sentence

Sentences

She had counted only twenty-two names when she came to an incredible message that the computer had inserted in the list.

The cab controls would not operate unless one first inserted an acceptable ID card into a slot above them