part of vlads graphs working