minor changes. started fiddling around with the date functions. very preliminary.