append and prepend demo