rewrite appendTo,modify style