drawing graph done