rethink function for generating author name (thanks to