結果 : different functions for graphs