adding an 'append' option
fixing typo