Extract method to generate list elements