changed x axis to time;