add parent option to appendTo