getAuthors function name corrected