move author names generation into its own static method