refactored essay joiner