added graph model