updated desing on Berkeley graph