added appendcols