x axis and labels now working