Refactor generate biographies list