put all this add project stuff in its own method, for modularization