added pickle dump, fixed list merge problem