Refactored to append list items