simplified some code, added comments for future multiproject parallel api change