done line graph for imperatives