changed to "append" and fixed empty string appendment