add legacy project, now can run on OSX but not working properly