ADDED lots of code to update date display, something got  messed up at certain point, need to debug