reduced number of appends to speed up