add legacy projects code