added timeplot, plus weekend function... not quite working yet