index: implement the `names` array functionality
index: remove console.error() call