Instead of the multiple appends it is more performant to use one.