graph is successfuly working