rewrite detail append