Working on vertex entry logging algorithm