updated code producing authors' names