More optimized way of adding items to list