adding plot vs. time