line graph works