rewrite old project to new program