changes for appending