graph functions w toku