delete old version and began to rewrite