some graph and theory added