add pregel engine