adding functionality that enables graphing with settable time