creating line graphs