$result should now have all project pids