adding project add func